/*
 * @Author: Beons 1838070824@qq.com
 * @Date: 2025-04-05 12:10:36
 * @LastEditors: Beons 1838070824@qq.com
 * @LastEditTime: 2025-04-05 13:59:55
 * @FilePath: \Projectc:\Users\Windows\Desktop\F407VGT6_Demo - 副本\User\Bsp.h
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
#ifndef _BSP_H_
#define _BSP_H_ 
#include "stm32f4xx.h"
#include "delay.h"
#include "usart.h"
#include <stdio.h>
#include "tim.h"
#include "EXTI.h"

#define RX_BUFFER_SIZE 128

extern volatile uint8_t Usart1_send_buff[128],Usart1_send_count;
extern volatile uint8_t Usart1_recv_buff[128],Usart1_recv_count,Usart1_recv_end_flag;
extern volatile uint16_t Usart1_RecvCnt;

void Toggle_GPIO_Pin(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin);

extern volatile uint8_t key_state;

#endif

